package com.lancoo.lancooknowledgecourseware.entity;

import org.simpleframework.xml.Element;
import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Namespace;
import org.simpleframework.xml.NamespaceList;
import org.simpleframework.xml.Root;

import java.util.List;

/**
 * Created by pengmi on 2018/12/29.
 * Description: 云平台基础信息配置
 */

@Root(name = "ArrayOfAnyType",strict = false)
@NamespaceList(
        {@Namespace(prefix = "xsi", reference = "http://www.w3.org/2001/XMLSchema-instance"),
                @Namespace(prefix = "xsd", reference = "http://www.w3.org/2001/XMLSchema"),
        })
public class CloudPlatformConfigModel {


    @ElementList(entry="anyType",inline=true,type=SystemServerMsgModel.class,required =false)
    private List<SystemServerMsgModel> systemServerMsgModels;

    public List<SystemServerMsgModel> getSystemServerMsgModels() {
        return systemServerMsgModels;
    }

    public void setSystemServerMsgModels(List<SystemServerMsgModel> systemServerMsgModels) {
        this.systemServerMsgModels = systemServerMsgModels;
    }

    @Root(name="anyType",strict = false)
    public static class SystemServerMsgModel{
        public SystemServerMsgModel() {
        }

        @Element(name = "SysID",required = false)
        private String SysID;

        @Element(name = "SubjectID",required = false)
        private String SubjectID;

        @Element(name = "WebSvrAddr",required = false)
        private String WebSvrAddr;

        @Element(name = "WsSvrAddr",required = false)
        private String WsSvrAddr;


        public String getSysID() {
            return SysID;
        }

        public void setSysID(String sysID) {
            SysID = sysID;
        }

        public String getSubjectID() {
            return SubjectID;
        }

        public void setSubjectID(String subjectID) {
            SubjectID = subjectID;
        }

        public String getWebSvrAddr() {
            return WebSvrAddr;
        }

        public void setWebSvrAddr(String webSvrAddr) {
            WebSvrAddr = webSvrAddr;
        }

        public String getWsSvrAddr() {
            return WsSvrAddr;
        }

        public void setWsSvrAddr(String wsSvrAddr) {
            WsSvrAddr = wsSvrAddr;
        }
    }

}
